package cn.com.zsw.gblog.modules.gblog.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: shiwangZhou
 * @Description:
 * @Date: 2020-06-22 11:41
 */
@Data
public class PostsPageDTO {
    @NotNull
    @ApiModelProperty(value = "页数")
    private Integer pageNum;
    @NotNull
    private Integer pageSize;
    @ApiModelProperty(value = "关键词")
    private String searchWords;
    @ApiModelProperty(value = "分类")
    private String category;
}
